package com.sunnada.edu.business.salaryManage.service;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

@Service
@Transactional
public interface RewardService {
	/***
	 * explain 总数量 
	 * @author chs 2015-5-12
	 * update chs 2015-5-12
	 * @param params
	 * @return int
	 */
	public int getWorkerCots(HashMap<String, String> params);
	/**
	 * explain 查询功能  
	 * @author chs 2015-5-12
	 * update chs 2015-5-12
	 * @param params
	 * @return List<?>
	 */
	public List<?> findWorkers(HashMap<String, String> params);
	/***
	 * explain 奖惩申请删除 
	 */
	public String rewardDel(HashMap<String, String> params);
	/***
	 * explain 奖惩申请添加保存
	 */
	public String rewardAdd(HashMap<String, String> params);
	/***
	 * explain 奖惩申请修改保存
	 */
	public String rewardUpdate(HashMap<String, String> params);
	/***
	 * explain 奖惩申请添加保存
	 */
	public Map getRewardByRecId(HashMap<String, String> params);
	/*
	 * 获取奖惩类型
	 */
	public List<?> getRewardType(HashMap<String, String> params);
	/*
	 * 获取奖惩等级
	 */
	public List<?> getRewardLevel(HashMap<String, String> params);
	/*
	 * 根据id获取奖惩申请
	 */
	public List<?> getRewardApplyByRecid(HashMap<String, String> params);
	/*
	 * 根据recid获取流程单的基本情况
	 */
	public List<?> getProcessConditionByrecid(HashMap<String, String> params);
	/*
	 * 奖惩申请审核
	 */
	public String audit(HashMap<String, String> params);
	public int getProjectCots(HashMap<String, String> params);
	public List<?> findProjects(HashMap<String, String> params);
	
}
